<%@ tag pageEncoding="UTF-8" %>
<%--<%@ taglib prefix="security" uri="http://www.springframework.org/security/tags" %>--%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>

<% if(session.getAttribute("account") == null) { %>
<script   language='javascript'>
    //alert('请先登录');
    top.location.href='/login.jsp';
</script>
<%   } %>


<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Proton - Admin Template</title>

    <!-- Import google fonts - Heading first/ text second -->
    <%--<link rel='stylesheet' type='text/css' href='http://fonts.useso.com/css?family=Open+Sans:400,700|Droid+Sans:400,700' />--%>
    <!--[if lt IE 9]>
    <link href="http://fonts.useso.com/css?family=Open+Sans:400" rel="stylesheet" type="text/css" />
    <link href="http://fonts.useso.com/css?family=Open+Sans:700" rel="stylesheet" type="text/css" />
    <link href="http://fonts.useso.com/css?family=Droid+Sans:400" rel="stylesheet" type="text/css" />
    <link href="http://fonts.useso.com/css?family=Droid+Sans:700" rel="stylesheet" type="text/css" />
    <![endif]-->

    <!-- Fav and touch icons -->
    <link rel="shortcut icon" href="${pageContext.request.contextPath}/themes/assets/ico/favicon.ico" type="image/x-icon" />

    <!-- Css files -->
    <link href="${pageContext.request.contextPath}/themes/assets/css/bootstrap.min.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/themes/assets/css/jquery.mmenu.css" rel="stylesheet">
    <%--<link href="${pageContext.request.contextPath}/themes/assets/css/font-awesome.min.css" rel="stylesheet">--%>

    <link href="${pageContext.request.contextPath}/themes/assets/fontawesome/css/font-awesome.min.css" rel="stylesheet">

    <link href="${pageContext.request.contextPath}/themes/assets/css/climacons-font.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/themes/assets/plugins/xcharts/css/xcharts.min.css" rel=" stylesheet">
    <link href="${pageContext.request.contextPath}/themes/assets/plugins/fullcalendar/css/fullcalendar.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/themes/assets/plugins/morris/css/morris.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/themes/assets/plugins/jquery-ui/css/jquery-ui-1.10.4.min.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/themes/assets/plugins/jvectormap/css/jquery-jvectormap-1.2.2.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/themes/assets/css/style.min.css" rel="stylesheet">
    <link href="${pageContext.request.contextPath}/themes/assets/css/add-ons.min.css" rel="stylesheet">

    <%--easypichart--%>
    <link href="${pageContext.request.contextPath}/themes/assets/easypiechart/custom-styles.css" rel="stylesheet">

    <%--easypichart--%>

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <script src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->


    <!-- start: JavaScript-->
    <!--[if !IE]>-->

    <script src="${pageContext.request.contextPath}/themes/assets/js/jquery-2.1.1.min.js"></script>


    <%--1111111111--%>


    <script src="${pageContext.request.contextPath}/themes/assets/js/jquery-migrate-1.2.1.min.js"></script>
    <script src="${pageContext.request.contextPath}/themes/assets/js/bootstrap.min.js"></script>


    <!-- page scripts -->
    <script src="${pageContext.request.contextPath}/themes/assets/plugins/jquery-ui/js/jquery-ui-1.10.4.min.js"></script>
    <script src="${pageContext.request.contextPath}/themes/assets/plugins/touchpunch/jquery.ui.touch-punch.min.js"></script>
    <script src="${pageContext.request.contextPath}/themes/assets/plugins/moment/moment.min.js"></script>
    <script src="${pageContext.request.contextPath}/themes/assets/plugins/fullcalendar/js/fullcalendar.min.js"></script>
    <!--[if lte IE 8]>
    <script language="javascript" type="text/javascript" src="${pageContext.request.contextPath}/themes/assets/plugins/excanvas/excanvas.min.js"></script>
    <![endif]-->
    <script src="${pageContext.request.contextPath}/themes/assets/plugins/flot/jquery.flot.min.js"></script>
    <script src="${pageContext.request.contextPath}/themes/assets/plugins/flot/jquery.flot.pie.min.js"></script>
    <script src="${pageContext.request.contextPath}/themes/assets/plugins/flot/jquery.flot.stack.min.js"></script>
    <script src="${pageContext.request.contextPath}/themes/assets/plugins/flot/jquery.flot.resize.min.js"></script>
    <script src="${pageContext.request.contextPath}/themes/assets/plugins/flot/jquery.flot.time.min.js"></script>
    <script src="${pageContext.request.contextPath}/themes/assets/plugins/flot/jquery.flot.spline.min.js"></script>
    <script src="${pageContext.request.contextPath}/themes/assets/plugins/xcharts/js/xcharts.min.js"></script>
    <script src="${pageContext.request.contextPath}/themes/assets/plugins/autosize/jquery.autosize.min.js"></script>
    <script src="${pageContext.request.contextPath}/themes/assets/plugins/placeholder/jquery.placeholder.min.js"></script>
    <script src="${pageContext.request.contextPath}/themes/assets/plugins/datatables/js/jquery.dataTables.min.js"></script>
    <script src="${pageContext.request.contextPath}/themes/assets/plugins/datatables/js/dataTables.bootstrap.min.js"></script>
    <script src="${pageContext.request.contextPath}/themes/assets/plugins/raphael/raphael.min.js"></script>
    <script src="${pageContext.request.contextPath}/themes/assets/plugins/morris/js/morris.min.js"></script>
    <script src="${pageContext.request.contextPath}/themes/assets/plugins/jvectormap/js/jquery-jvectormap-1.2.2.min.js"></script>
    <script src="${pageContext.request.contextPath}/themes/assets/plugins/jvectormap/js/jquery-jvectormap-world-mill-en.js"></script>
    <script src="${pageContext.request.contextPath}/themes/assets/plugins/jvectormap/js/gdp-data.js"></script>
    <script src="${pageContext.request.contextPath}/themes/assets/plugins/gauge/gauge.min.js"></script>


    <!-- theme scripts -->
    <script src="${pageContext.request.contextPath}/themes/assets/js/SmoothScroll.js"></script>
    <script src="${pageContext.request.contextPath}/themes/assets/js/jquery.mmenu.min.js"></script>
    <script src="${pageContext.request.contextPath}/themes/assets/js/core.min.js"></script>
    <script src="${pageContext.request.contextPath}/themes/assets/plugins/d3/d3.min.js"></script>

    <script src="${pageContext.request.contextPath}/themes/assets/plugins/sparkline/jquery.sparkline.min.js"></script>

    <%--easypichart--%>
    <script src="${pageContext.request.contextPath}/themes/assets/easypiechart/easypiechart.js"></script>
    <%--echarts--%>
    <script src="${pageContext.request.contextPath}/themes/assets/echarts/echarts.min.js"></script>


    <%--<!-- inline scripts related to this page -->--%>
    <script src="${pageContext.request.contextPath}/themes/assets/plugins/raphael/raphael.min.js"></script>
    <script src="${pageContext.request.contextPath}/themes/assets/plugins/justgage/justgage.1.0.1.min.js"></script>
    <script src="${pageContext.request.contextPath}/themes/assets/js/pages/index_qiqi.js"></script>
    <script src="${pageContext.request.contextPath}/themes/assets/js/pages/walden.js"></script>
    <script src="http://cdn.bootcss.com/web-socket-js/1.0.0/web_socket.min.js"></script>
    <%--<script src="${pageContext.request.contextPath}/themes/assets/js/pages/charts-other.js"></script>--%>

    <%--<!-- end: JavaScript-->--%>





</head>


<script type="text/javascript">
    var ctxPath = "<%=request.getContextPath() %>";
    function getToday(num) {
        var date = new Date();
        date.setDate(date.getDate());
        var y = date.getFullYear();
        var m = date.getMonth()+num;//获取当前月份的日期

        if (m==0){
            y=y-1;
            m==12;
        }


        if(m<10) m='0'+m;
        var d = date.getDate();
        if(d<10) d = '0'+d;
        return y+"-"+m+"-"+d;
    }

    function wol(){

        //var date = new Date();
        //var dateString = date.getFullYear()+"-0"+(date.getMonth()+1)+"-"+date.getDate();
        $(".date").val(getToday(1));
        $(".lastmonth").val(getToday(0));


    }
</script>


<body onload="wol()">
<!-- start: Header -->

<jsp:doBody/>

</body>





</html>
